package org.flower.isme.flower.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.flower.isme.flower.domain.dto.PlantsPageDto;
import org.flower.isme.flower.domain.entity.Plants;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

public interface PlantsMapper extends BaseMapper<Plants> {
    /**
     * 分页查询
     *
     * @param page 分页
     * @param plantName 植物名
     * @return page
     */
    IPage<PlantsPageDto> queryPage(IPage<Plants> page, @Param("plantName") String plantName);
}




